<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link rel="selenium.base" href=""/>
    <title>registrationTest</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
    <thead>
    <tr>
        <td rowspan="1" colspan="3">registrationTest</td>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td>deleteAllVisibleCookies</td>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <td>open</td>
        <td>/</td>
        <td></td>
    </tr>
    <tr>
        <td>clickAndWait</td>
        <td>link=Registrace</td>
        <td></td>
    </tr>
    <tr>
        <td>store</td>
        <td>javascript{new Date().getTime()}</td>
        <td>timestamp</td>
    </tr>
    <tr>
        <td>type</td>
        <td>registrationLogin</td>
        <td>filip.voracek-${timestamp}</td>
    </tr>
    <tr>
        <td>type</td>
        <td>registrationPassword</td>
        <td>filip</td>
    </tr>
    <tr>
        <td>type</td>
        <td>registrationPasswordVerify</td>
        <td>filip</td>
    </tr>
    <tr>
        <td>type</td>
        <td>firstName</td>
        <td>Filip</td>
    </tr>
    <tr>
        <td>type</td>
        <td>lastName</td>
        <td>Voráček</td>
    </tr>
    <tr>
        <td>type</td>
        <td>tradingName</td>
        <td>ČVUT</td>
    </tr>
    <tr>
        <td>type</td>
        <td>tradingName2</td>
        <td></td>
    </tr>
    <tr>
        <td>type</td>
        <td>companyID</td>
        <td>12345</td>
    </tr>
    <tr>
        <td>type</td>
        <td>taxID</td>
        <td>12345</td>
    </tr>
    <tr>
        <td>type</td>
        <td>bankNumber</td>
        <td>123456/0123</td>
    </tr>
    <tr>
        <td>type</td>
        <td>companyEmail</td>
        <td>topservis.test@gmail.com</td>
    </tr>
    <tr>
        <td>type</td>
        <td>phone</td>
        <td>0123456789</td>
    </tr>
    <tr>
        <td>type</td>
        <td>fax</td>
        <td>0123456789</td>
    </tr>
    <tr>
        <td>type</td>
        <td>street</td>
        <td>Dejvická 1</td>
    </tr>
    <tr>
        <td>type</td>
        <td>municipality</td>
        <td>Praha</td>
    </tr>
    <tr>
        <td>type</td>
        <td>postcode</td>
        <td>01234</td>
    </tr>
    <tr>
        <td>type</td>
        <td>country</td>
        <td>ČR</td>
    </tr>
    <tr>
        <td>storeText</td>
        <td>testCaptchaPassword</td>
        <td>foo</td>
    </tr>
    <tr>
        <td>type</td>
        <td>captchaPassword</td>
        <td>${foo}</td>
    </tr>
    <tr>
        <td>clickAndWait</td>
        <td>//input[@value='Odeslat']</td>
        <td></td>
    </tr>
    <tr>
        <td>verifyTextPresent</td>
        <td>Registrace proběhla úspěšně.</td>
        <td></td>
    </tr>

    </tbody>
</table>
</body>
</html>
